package com.xuerhua.yxt.view;

import java.util.Date;

import com.xuerhua.yxt.model.ParentInfo;

public class ParentRelStudentView extends ParentInfo {

	private static final long serialVersionUID = 6666064301186093815L;

	private Integer schoolId;
	
	private String schoolName;
	
	private Integer relId;
	
	private Integer studentId;
	
	private String studentName;
	
	private Integer grade;
	
	private Integer clazz;
	
	private String relation;

    private String inviteEwm;

    private Date ewmInvalidTime;
    
    private String faceDate;
    
	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public Integer getRelId() {
		return relId;
	}

	public void setRelId(Integer relId) {
		this.relId = relId;
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getClazz() {
		return clazz;
	}

	public void setClazz(Integer clazz) {
		this.clazz = clazz;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public String getInviteEwm() {
		return inviteEwm;
	}

	public void setInviteEwm(String inviteEwm) {
		this.inviteEwm = inviteEwm;
	}

	public Date getEwmInvalidTime() {
		return ewmInvalidTime;
	}

	public void setEwmInvalidTime(Date ewmInvalidTime) {
		this.ewmInvalidTime = ewmInvalidTime;
	}
	
	public String getGradeName(){
		return TermView.getGradeName(this.grade);
	}
	
	public String getClassName() {
		return this.clazz + "班";
	}

	public String getFaceDate() {
		return faceDate;
	}

	public void setFaceDate(String faceDate) {
		this.faceDate = faceDate;
	}

}
